package deleteface.bank.jqsoft.cn.deleteface.webservice;


import dagger.Module;
import okhttp3.ResponseBody;
import retrofit2.http.GET;
import retrofit2.http.Headers;
import retrofit2.http.POST;
import retrofit2.http.Query;
import rx.Observable;

/**
 * @date 2019/7/16
 * 网络请求管理
 */
@Module
public interface ServiceStore {

//    @GET("api/VillageLogin")
//    Observable<ResponseBody> getSearchBooks(@Query("userName") String name,
//                                    @Query("userPwd") String tag,
//                                    @Query("cardNo") String cardNo,
//                                    @Query("centerNo") String count);

    @POST("WebService/SignDoctor/SignWebService")
    @Headers({"Content-Type:  text/xml; charset=utf-8", "Content-Length: length"})
    Observable<ResponseBody> getSignDoctor(@retrofit2.http.Body String str);

    //主页
    @POST("WebService/AndrewsWebService")
    @Headers({"Content-Type:  text/xml; charset=utf-8", "Content-Length: length"})
    Observable<ResponseBody> getAndrewsWebService(@retrofit2.http.Body String str);

    // 新增人员信息(个人建档)    获取档案 、更新档案    档案校验
    @POST("WebService/Andrews/PersonInfoWebService")
    @Headers({"Content-Type:  text/xml; charset=utf-8", "Content-Length: length"})
    Observable<ResponseBody> savePersonalDocument(@retrofit2.http.Body String str);

    //是否读卡
    @POST("WebService/Andrews/getReadCardRecord")
    @Headers({"Content-Type:  text/xml; charset=utf-8", "Content-Length: length"})
    Observable<ResponseBody> isReadCard(@retrofit2.http.Body String str);

    //获取健康体检列表信息
    @POST("WebService/Andrews/HeathyCheckUpWebService")
    @Headers({"Content-Type:  text/xml; charset=utf-8", "Content-Length: length"})
    Observable<ResponseBody> getHealthList(@retrofit2.http.Body String str);

    //登录   更新行政区划
    @POST("WebService/AndrewsWebService")
    @Headers({"Content-Type:  text/xml; charset=utf-8", "Content-Length: length"})
    Observable<ResponseBody> loginmethod(@retrofit2.http.Body String str);

    // 身份证读卡保存
    // @POST("gdws-core/WebService/SaveCardDay.wsdl")
    @POST("WebService/Andrews/SaveCardDay")
    @Headers({"Content-Type:  text/xml; charset=utf-8", "Content-Length: length"})
    Observable<ResponseBody> saveCard(@retrofit2.http.Body String str);


    //获取上一次体检 健康体检保存  获取上一次用药   获取lis
    @POST("WebService/Andrews/HeathyCheckUpWebService")
    @Headers({"Content-Type:  text/xml; charset=utf-8", "Content-Length: length"})
    Observable<ResponseBody> getLastHealthTest(@retrofit2.http.Body String str);

    //获取一体机数据
    @POST("WebService/Andrews/ConsultYTJWebService")
    @Headers({"Content-Type:  text/xml; charset=utf-8", "Content-Length: length"})
    Observable<ResponseBody> getYTJData(@retrofit2.http.Body String str);

    //电话更新
    @POST("WebService/Andrews/PersonInfoWebService")
    @Headers({"Content-Type:  text/xml; charset=utf-8", "Content-Length: length"})
    Observable<ResponseBody> resetPhone(@retrofit2.http.Body String str);


    /**
     * 糖尿病管理
     */
    @POST("WebService/Andrews/Type2DiabetesWebService")
    @Headers({"Content-Type:  text/xml; charset=utf-8", "Content-Length: length"})
    Observable<ResponseBody> getType2DiabetesWebService(@retrofit2.http.Body String str);

    /**
     * 新生儿管理
     */
    @POST("WebService/Andrews/ChildrenManagementWebService")
    @Headers({"Content-Type:  text/xml; charset=utf-8", "Content-Length: length"})
    Observable<ResponseBody> getChildCareWebService(@retrofit2.http.Body String str);

    /**
     * 老年人管理
     */
    @POST("WebService/Andrews/OldPeopleWebService")
    @Headers({"Content-Type:  text/xml; charset=utf-8", "Content-Length: length",})
    Observable<ResponseBody> getOldPeopleSelfWebService(@retrofit2.http.Body String str);
    /**
     * 中医药提交
     */
    @POST("WebService/Andrews/OldPeopleSelfWebService")
    @Headers({"Content-Type:  text/xml; charset=utf-8", "Content-Length: length",})
    Observable<ResponseBody> getoldPeopleSelfWebService(@retrofit2.http.Body String str);
    /**
     * 妇幼保健管理
     */
    @POST("WebService/Andrews/PregnancyManagementWebService")
    @Headers({"Content-Type:  text/xml; charset=utf-8", "Content-Length: length",})
    Observable<ResponseBody> getPregnancyManagementService(@retrofit2.http.Body String str);
    /**
     * 精神病管理  列表 、上次随访
     */
    @POST("WebService/Andrews/PsychosisPersonWebService")
    @Headers({"Content-Type:  text/xml; charset=utf-8", "Content-Length: length",})
    Observable<ResponseBody> getPsychosisPersonService(@retrofit2.http.Body String str);

    /**
     * 保存老年人自理评估
     */
    @POST("WebService/Andrews/OldPeopleSelfWebService")
    @Headers({"Content-Type:  text/xml; charset=utf-8", "Content-Length: length",})
    Observable<ResponseBody> savePersonArchiveInfo(@retrofit2.http.Body String str);
    // 获取报表
    @POST("WebService/Andrews/ReportWebService")
    @Headers({"Content-Type:  text/xml; charset=utf-8", "Content-Length: length"})
    Observable<ResponseBody> getReportData(@retrofit2.http.Body String str);


    // 获取居民服务定位信息
    @POST("WebService/Andrews/ServiceLocationMapWebService")
    @Headers({"Content-Type:  text/xml; charset=utf-8", "Content-Length: length"})
    Observable<ResponseBody> getServiceLocationInfo(@retrofit2.http.Body String str);

    // 获取高血压随访信息
    @POST("WebService/Andrews/HypertensionWebService")
    @Headers({"Content-Type:  text/xml; charset=utf-8", "Content-Length: length"})
    Observable<ResponseBody> getHypertensionVisitingDetail(@retrofit2.http.Body String str);

    // 获取糖尿病随访信息
    @POST("WebService/Andrews/Type2DiabetesWebService")
    @Headers({"Content-Type:  text/xml; charset=utf-8", "Content-Length: length"})
    Observable<ResponseBody> getType2DiabetesVisitingDetail(@retrofit2.http.Body String str);

    // 获取精神病随访信息
    @POST("WebService/Andrews/PsychosisPersonWebService")
    @Headers({"Content-Type:  text/xml; charset=utf-8", "Content-Length: length"})
    Observable<ResponseBody> getPsychosisVisitingDetail(@retrofit2.http.Body String str);
    // 保存人脸识别
    @POST("WebService/Andrews/SaveFaceRecognitionDay")
    @Headers({"Content-Type:  text/xml; charset=utf-8", "Content-Length: length"})
    Observable<ResponseBody> SaveFaceRecognitionDay(@retrofit2.http.Body String str);
    // 删除底片日志
    @POST("WebService/Andrews/SaveFaceRecognitionDay.asmx")
    @Headers({"Content-Type:  text/xml; charset=utf-8", "Content-Length: length"})
    Observable<ResponseBody> applyDelete(@retrofit2.http.Body String str);

    // 删除底片日志
    @POST("gdws-core/WebService/Andrews/SaveFaceRecognitionDay.wsdl")
    @Headers({"Content-Type:  text/xml; charset=utf-8", "Content-Length: length"})
    Observable<ResponseBody> applyDeleteGuizhou(@retrofit2.http.Body String str);



    // 删除有效期
    @POST("gdws-core/WebService/Andrews/SaveFaceRecognitionDay.wsdl")
    @Headers({"Content-Type:  text/xml; charset=utf-8", "Content-Length: length"})
    Observable<ResponseBody> applyWPReadCardInfoGuizhou(@retrofit2.http.Body String str);

    // 删除有效期
    @POST("WebService/Andrews/SaveFaceRecognitionDay.asmx")
    @Headers({"Content-Type:  text/xml; charset=utf-8", "Content-Length: length"})
    Observable<ResponseBody> applyWPReadCardInfo(@retrofit2.http.Body String str);

    // 申请删除底片
    @POST("WebService/Andrews/SaveFaceRecognitionDay")
    @Headers({"Content-Type:  text/xml; charset=utf-8", "Content-Length: length"})
    Observable<ResponseBody> applySend(@retrofit2.http.Body String str);
    //  删除底片记录日志
    @POST("WebService/Andrews/SaveFaceRecognitionDay")
    @Headers({"Content-Type:  text/xml; charset=utf-8", "Content-Length: length"})
    Observable<ResponseBody> runNote(@retrofit2.http.Body String str);
    // 获取用户指南-视频播放
    @POST("WebService/Andrews/LearningMaterialWebService")
    @Headers({"Content-Type:  text/xml; charset=utf-8", "Content-Length: length"})
    Observable<ResponseBody> getVideoData(@retrofit2.http.Body String str);

    // 新增健康教育印刷资料
    @POST("WebService/Andrews/HealthEduDataWebService")
    @Headers({"Content-Type:  text/xml; charset=utf-8", "Content-Length: length"})
    Observable<ResponseBody> addHealthPrintData(@retrofit2.http.Body String str);

    // 新增健康教育音像资料
    @POST("WebService/Andrews/HealthEduDataWebService")
    @Headers({"Content-Type:  text/xml; charset=utf-8", "Content-Length: length"})
    Observable<ResponseBody> addHealthVideoData(@retrofit2.http.Body String str);

    // 获取地图服务随访人次
    @POST("WebService/Andrews/HypertensionAndroidWebService")
    @Headers({"Content-Type:  text/xml; charset=utf-8", "Content-Length: length"})
    Observable<ResponseBody> getHypertensionVisiting(@retrofit2.http.Body String str);

    // 新增健康教育宣传栏资料
    @POST("WebService/Andrews/HealthEduBannerWebService")
    @Headers({"Content-Type:  text/xml; charset=utf-8", "Content-Length: length"})
    Observable<ResponseBody> addHealthEduBannerData(@retrofit2.http.Body String str);

    // 新增健康教育咨询活动
    @POST("WebService/Andrews/HealthConsultActivityWebService")
    @Headers({"Content-Type:  text/xml; charset=utf-8", "Content-Length: length"})
    Observable<ResponseBody> addHealthConsultData(@retrofit2.http.Body String str);

    // 新增健康教育知识讲座
    @POST("WebService/Andrews/HealthEduSeminarWebService")
    @Headers({"Content-Type:  text/xml; charset=utf-8", "Content-Length: length"})
    Observable<ResponseBody> addHealthEduSeminarData(@retrofit2.http.Body String str);

    // 新增个体化健康教育上门访视和门诊医疗是同一个接口
    @POST("WebService/Andrews/IndividualHealthEducationWebService")
    @Headers({"Content-Type:  text/xml; charset=utf-8", "Content-Length: length"})
    Observable<ResponseBody> addHealthIndividualData(@retrofit2.http.Body String str);

    // 肺结核病
    @POST("WebService/Andrews/TuberculosisManagementWebService")
    @Headers({"Content-Type:  text/xml; charset=utf-8", "Content-Length: length"})
    Observable<ResponseBody> getTuberculosisScreeningData(@retrofit2.http.Body String str);
    // SRs
    @POST("WebService/Andrews/ReportCard")
    @Headers({"Content-Type:  text/xml; charset=utf-8", "Content-Length: length"})
    Observable<ResponseBody> getSrsData(@retrofit2.http.Body String str);
    //获取年度计划
    @POST("WebService/Andrews/HealthEduAnnualPlanWebService")
    @Headers({"Content-Type:  text/xml; charset=utf-8", "Content-Length: length"})
    Observable<ResponseBody> getAnnualPlan(@retrofit2.http.Body String str);

    //获取处方信息
    @POST("WebService/Andrews/IndividualHealthEducationWebService")
    @Headers({"Content-Type:  text/xml; charset=utf-8", "Content-Length: length"})
    Observable<ResponseBody> getTraditionalChineseMedicine(@retrofit2.http.Body String str);

    //获取个体化教育中门诊就诊数据
    @POST("WebService/Andrews/IndividualHealthEducationWebService")
    @Headers({"Content-Type:  text/xml; charset=utf-8", "Content-Length: length"})
    Observable<ResponseBody> getSoapRecord(@retrofit2.http.Body String str);

    //获取卫生监督巡查引用水
    @POST("WebService/Andrews/WSDrinkingWaterWebService")
    @Headers({"Content-Type:  text/xml; charset=utf-8", "Content-Length: length"})
    Observable<ResponseBody> getWSDrinkingWaterWebService(@retrofit2.http.Body String str);
    //获取公共场所
    @POST("WebService/Andrews/WSPublicHealthWebService")
    @Headers({"Content-Type:  text/xml; charset=utf-8", "Content-Length: length"})
    Observable<ResponseBody> getWSPublicHealthWebService(@retrofit2.http.Body String str);

    //获取卫生监督巡查地点
    @POST("WebService/Andrews/WSXunchaWebservice")
    @Headers({"Content-Type:  text/xml; charset=utf-8", "Content-Length: length"})
    Observable<ResponseBody> getWSXunchaWebservice(@retrofit2.http.Body String str);
    /**年度计划** 年底总结** 宣传报道**/
    @POST("WebService/Andrews/WSJDXGWebService")
    @Headers({"Content-Type:  text/xml; charset=utf-8", "Content-Length: length"})
    Observable<ResponseBody> getAddWSXunChaInfo(@retrofit2.http.Body String str);
    /**人员信息**/
    @POST("WebService/Andrews/WSUsersWebService")
    @Headers({"Content-Type:  text/xml; charset=utf-8", "Content-Length: length"})
    Observable<ResponseBody> adduserInfo(@retrofit2.http.Body String str);
    /**本地登记**/
    @POST("WebService/Andrews/WSBaseItemsWebService")
    @Headers({"Content-Type:  text/xml; charset=utf-8", "Content-Length: length"})
    Observable<ResponseBody> addWSBaseItemsWebService(@retrofit2.http.Body String str);
    /**医疗机构消毒消杀**/
    @POST("WebService/Andrews/WSDisinfectionWebService")
    @Headers({"Content-Type:  text/xml; charset=utf-8", "Content-Length: length"})
    Observable<ResponseBody> addWSDisinfectionWebService(@retrofit2.http.Body String str);
    /**意见反馈**/
    @POST("WebService/Andrews/SystemfeedbackService")
    @Headers({"Content-Type:  text/xml; charset=utf-8", "Content-Length: length"})
    Observable<ResponseBody> systemfeedbackService(@retrofit2.http.Body String str);

    /**
     * 获取最近一次健康教育宣传栏基本信息
     * @param str 参数
     * @return 返回json
     */
    @POST("WebService/Andrews/HealthEduBannerWebService")
    @Headers({"Content-Type:  text/xml; charset=utf-8", "Content-Length: length"})
    Observable<ResponseBody> getLastHealthEduBanner(@retrofit2.http.Body String str);


    @GET("api/VillageLogin")
    Observable<ResponseBody> getLogin(@Query("userName") String userName,
                                      @Query("userPwd") String userPwd,
                                      @Query("cardNo") String cardNo,
                                      @Query("centerNo") String centerNo);
}

